import {requestClient} from '#/api/request';

export async function findDictListPage(params) {
    return requestClient.get('/sys/dict/list/page', {params});
}

export async function createDictInfo(data) {
    return requestClient.post('/sys/dict/create', data)
}

export async function updateDictInfo(data) {
    return requestClient.put('/sys/dict/update', data)
}

export async function removeDictInfo(id) {
    return requestClient.delete('/sys/dict/remove', {params: {id}})
}
